Document the maintenance-hold versioning rule#736
Merged
Conversation
Complement the existing develop-leads bump rule: a maintenance develop -> main promotion (dependency bumps, CI/doc fixes, template re-syncs) holds main's version via git checkout main -- version.json, so main advances only a patch and develop keeps its lead. Only a release promotion carries develop's bumped version. Aligns with ptr727/ProjectTemplate.
There was a problem hiding this comment.
Pull request overview
Documents the “maintenance-hold” versioning workflow for develop → main promotions, clarifying when version.json should not be promoted from develop to main so that maintenance catch-up merges don’t inadvertently advance main’s minor version.
Changes:
- Add a documented rule for maintenance-only
develop → mainpromotions to hold main’sversion.jsonviagit checkout main -- version.json. - Mirror the same rule into the repo’s Copilot instructions quick rules for consistency with the runbook.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| AGENTS.md | Adds the maintenance-hold versioning rule to the develop→main promotion guidance. |
| .github/copilot-instructions.md | Adds the same maintenance-hold rule to the quick rules list for contributors/agents. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complements this repo's existing develop-leads bump rule with the maintenance-hold case (now documented in ptr727/ProjectTemplate): a
develop -> mainpromotion carrying only maintenance (dependency bumps, CI/doc fixes, template re-syncs) holds main's version withgit checkout main -- version.json, so main advances only a patch and develop keeps its lead - exactly what #734 did. Only a release promotion carries develop's bumped version.